package com.example.demo.model;

import lombok.Data;

import java.io.Serializable;

@Data
public class ViewedDishNode implements Serializable {
    public Long dishId;
    public ViewedDishNode nextNode; // 指向下一个节点

    public ViewedDishNode(Long dishId) {
        this.dishId = dishId;
        this.nextNode = null;
    }

}

